<template>
  <div class="demo">
    <h2>学校名称：{{ name }}</h2>
    <h2>学生地址：{{ address }}</h2>
    <p class="pOne">用于测试less的文本</p>
  </div>
</template>

<script>
export default {
  name: "School",
  data() {
    return {
      name: "尚硅谷atsgg",
      address: "北京",
    };
  }
};
</script>

<style lang="less" scoped>
.demo{
  background-color: orange;
  .pOne{
    font-size: 50px;
    color: red;
  }
}
</style>
